package com.zhanghp.kind.elven;

import com.zhanghp.Army;
import com.zhanghp.Castle;
import com.zhanghp.King;
import com.zhanghp.factory.KingdomFactory;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * @author zhanghp
 * @date 2022-08-05 15:22
 */
@NoArgsConstructor
public class ElKingdomFactory implements KingdomFactory {
    @Override
    public King createKing() {
        return new ElKing();
    }

    @Override
    public Castle createCastle() {
        return new ElCastle();
    }

    @Override
    public Army createArmy() {
        return new ElArmy();
    }
}
